package com.macro.mall.pms.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * skuDomain
 *
 * @author xuyanjun
 * @date 2019-12-13
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class Sku {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Long productId;

    /**
     * sku编码
     */
    @ApiModelProperty(value = "sku编码")
    private String skuCode;

    /**
     * 价格(元)
     */
    @ApiModelProperty(value = "价格(元)")
    private BigDecimal price;

    /**
     * 库存
     */
    @ApiModelProperty(value = "库存")
    private Integer stock;

    /**
     * 预警库存
     */
    @ApiModelProperty(value = "预警库存")
    private Integer lowStock;

    /**
     * 销售属性1
     */
    @ApiModelProperty(value = "销售属性1")
    private String sp1;

    /**
     * 销售属性2
     */
    @ApiModelProperty(value = "销售属性2")
    private String sp2;

    /**
     * 销售属性3
     */
    @ApiModelProperty(value = "销售属性3")
    private String sp3;

    /**
     * 展示图片
     */
    @ApiModelProperty(value = "展示图片")
    private String pic;

    /**
     * 销量
     */
    @ApiModelProperty(value = "销量")
    private Integer sale;

    /**
     * 单品促销价格
     */
    @ApiModelProperty(value = "单品促销价格")
    private BigDecimal promotionPrice;

    /**
     * 锁定库存
     */
    @ApiModelProperty(value = "锁定库存")
    private Integer lockStock;

}
